home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / gdb-4.5 / sun4.md / readline / sysdep.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-06-24  |  601 b   |  29 lines

  1. /* System-dependent stuff, for ``normal'' systems */
  2.  
  3. #ifdef __GNUC__
  4. #define alloca __builtin_alloca
  5. #else
  6. #if defined (sparc) && defined (sun)
  7. #include <alloca.h>
  8. #endif
  9. extern char *alloca ();
  10. #endif
  11.  
  12. #include <sys/types.h>            /* Needed by dirent.h */
  13.  
  14. #if defined (USG) && defined (TIOCGWINSZ)
  15. #include <sys/stream.h>
  16. #if defined (USGr4) || defined (USGr3)
  17. #include <sys/ptem.h>
  18. #endif /* USGr4 */
  19. #endif /* USG && TIOCGWINSZ */
  20.  
  21. #include <dirent.h>
  22. typedef struct dirent dirent;
  23.  
  24. /* SVR4 systems should use <termios.h> rather than <termio.h>. */
  25.  
  26. #if defined (USGr4)
  27. #define _POSIX_VERSION
  28. #endif
  29.